package com.yzt.zhuju.network.entity.mine;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * author : bob
 * date   : 2022/12/1
 * desc   : 我的卡片信息
 */
public class MineCardBean implements Parcelable {

    private String awardCard;

    private String link;

    private int num;

    private List<String> content;

    private String invitationCode;

    public MineCardBean() {
    }

    protected MineCardBean(Parcel in) {
        awardCard = in.readString();
        link = in.readString();
        num = in.readInt();
        content = in.createStringArrayList();
        invitationCode = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(awardCard);
        dest.writeString(link);
        dest.writeInt(num);
        dest.writeStringList(content);
        dest.writeString(invitationCode);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<MineCardBean> CREATOR = new Creator<MineCardBean>() {
        @Override
        public MineCardBean createFromParcel(Parcel in) {
            return new MineCardBean(in);
        }

        @Override
        public MineCardBean[] newArray(int size) {
            return new MineCardBean[size];
        }
    };

    public String getAwardCard() {
        return awardCard;
    }

    public void setAwardCard(String awardCard) {
        this.awardCard = awardCard;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public List<String> getContent() {
        return content;
    }

    public void setContent(List<String> content) {
        this.content = content;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }


}


